@mixin commonHeader(){
    height: $topNavHeight;
    background: #623e77;
    .logo-list{
        float: left;
        padding-left: 25px;
        .logo{
            display: block;
            float: left;
        }
        .km_logo{
            margin-top: 9px;
        }
        .elearn_logo{
            margin-top: 13px;
        }
        .line{
            float: left;
            @extend .hideFont;
            width: 1px;
            height: 23px;
            background: #533962;
            margin: 19px 23px 0;
        }
    }

    .search-box{
        float: right;
        width: 190px;
        height: $topNavHeight;
        background: #472d56;
        position: relative;
        z-index: $zindexMin;
        input{
            width: 110px;
            color: #ffffff;
            outline: none;
            border: none;
            background: #472d56;
            font-size: 13px;
            line-height: 1;
            height: 13px;
            padding-top: ($topNavHeight - 13)/2;
            padding-bottom: ($topNavHeight - 13)/2;
            padding-left: 30px;
            padding-right: 50px;
        }
        .submit{
            position: absolute;
            z-index: $zindexMin;
            top:0;
            right:0;
            width: 50px;
            height: $topNavHeight;
            color: #ffffff;
            font-size: 20px;
            font-weight: normal;
            text-align: center;
            line-height: $topNavHeight;
        }
    }
}


@mixin commonHeader2(){
    height: $topNavHeight;
    background: #242728;
    overflow: hidden;
    .logo {
        float: left;
        margin: 10px 15px 0 22px;
        img {
            display: block;
            width: 92px;
            height: 36px;
        }
    }

    .navigator {
        float: left;
        width: 65%;
        display: box;
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        padding-top: 10px;
        white-space: nowrap;
        a {
            display: block;
            -webkit-box-flex: 1;
            -moz-box-flex: 1;
            -ms-box-flex: 1;
            box-flex: 1;
            -webkit-flex: 1 1 auto;
            flex: 1 1 auto;
            margin: 0 16px;
            display: inline-block\9;
            display: inline-block\9\0;

            @media screen and (max-width: 1300px) {
                margin: 0 10px\9;
                margin: 0 10px\9\0;
                margin: 0 14px;
            }

            span {
                display: block;
                color: #ffffff;
                line-height: 18px;
                text-align: center;
                white-space: nowrap;
            }
            &.active, &:hover {
                span {
                    color: #28949c;
                }
            }
        }
    }

    .search-box {
        float: right;
        width: 18%;
        overflow: hidden;
        position: relative;
        z-index: $zindexMin;
        margin-top: 15px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        padding-right: 10px;
        input {
            width: 100%;
            outline: none;
            border: none;
            background: #666;
            line-height: 26px;
            height: 26px;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
            padding: 0 30px 0 10px;
            &::-webkit-input-placeholder{
                color: #989899;
            }
            &:-ms-input-placeholder{
                color: #989899;
            }
        }
        a {
            width: 26px;
            height: 26px;
            position: absolute;
            z-index: $zindexMin;
            top: 0;
            right: 10px;
            font-size: 16px;
            line-height: 26px;
            text-align: center;
            color: #ffffff;
        }

        @media screen and (max-width: 1360px) {
            width: 14%;
        }
    }
}